package com.cxso.example.request.wlpt;

import com.cxso.example.domain.wlpt.leader.ApiLeaderBasicDomain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;


@Setter
@Getter
@Schema(description = "创建车队长")
public class ApiConsignorLeaderCreateReq extends ApiBaseReq {

    @Schema(description = "车队长基础信息")
    @Valid
    @NotNull(message = "车队长基础信息不能为空")
    private ApiLeaderBasicDomain leaderBasicDomain;

}
